package com.risk.kernel.domain;

import com.risk.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * @author: Liwen
 * @createTime: 2024/11/24
 * @description:
 */
public class KfDataOperate extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 主键id
     */
    private String id;

    /**
     * 手机号
     */
    private String mobile;

    /**
     * 模块,1:新核心，2：老核心，3：emc会员，4：易卡（新、老）
     */
    private String modelName;

    /**
     * 任务状态，1: 成功，2：失败
     */
    private String flag;

    /**
     * 耗时
     */
    private String consume;

    public void setId(String id) {
        this.id = id;
    }

    public String getId() {
        return id;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getMobile() {
        return mobile;
    }

    public void setModelName(String modelName) {
        this.modelName = modelName;
    }

    public String getModelName() {
        return modelName;
    }

    public void setFlag(String flag) {
        this.flag = flag;
    }

    public String getFlag() {
        return flag;
    }

    public void setConsume(String consume) {
        this.consume = consume;
    }

    public String getConsume() {
        return consume;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("mobile", getMobile())
                .append("modelName", getModelName())
                .append("flag", getFlag())
                .append("consume", getConsume())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateTime", getUpdateTime())
                .toString();
    }
}
